package com.pet.system.domain;

import com.pet.common.annotation.Excel;
import com.pet.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户商家关联对象 pet_customer_merchant
 *
 * @author pet
 * @date 2022-10-15
 */
public class PetCustomerUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 客户ID
     */
    @Excel(name = "openid")
    private String openid;

    /**
     * 商家ID
     */
    @Excel(name = "商家ID")
    private Long userId;

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("openid", getOpenid())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
